package cn.imvc.app.models;

import java.util.List;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.ArticleClass;
import cn.imvc.data.domain.ViewRequest;

public interface ArticleClassModel{
	
	Page<ArticleClass> find(ViewRequest viewRequest);

	ArticleClass get(int id);

	ArticleClass save(ArticleClass entity);

	ArticleClass update(ArticleClass entity);

	void delete(int id);

	void deleteBatch(int[] ids);
	
	public List<Object[]> findMaxId();

}